home *** CD-ROM | disk | FTP | other *** search
/ The Learning Curve / The Learning Curve (Weird Science, 1996).iso / electronics / analog_emulator / aces-docs / appendixa < prev    next >
Encoding:
Text File  |  1995-09-07  |  26.1 KB  |  579 lines

  1.  
  2.  
  3.                    **  APPENDIX A ** (Preliminary Docs.)
  4.  
  5.                         ACES MODULES Version 1.1
  6.  
  7. Type of Module  Code         Description & Diagram
  8. ---- -- ------  ----         ---------------------
  9.  
  10. Arc Sine          A          Computes the angle (in radians) for the
  11.                              sine of e1 ( maximum +- Pi/2.) If a value
  12.                              equivalent to the sign of the cosine is
  13.                              input to e2 the output range is extended 
  14.                              to +- Pi radians.
  15.                                         __________
  16.                               e1  -----|          |\
  17.                                        |          | \
  18.                                        |     #    | A>----- eo
  19.                                        |          | /
  20.                               e2  -----|__________|/
  21.  
  22.  
  23. -------------------------------------------------------------------------
  24.  
  25. Bang-Bang         B          The output, eo, of this module is TRUE (+1)  (Comparator)                if  e1 > e2 and FALSE (-1) if e1 <= e2.
  26.  
  27.  
  28.                                         __________
  29.                               e1  -----|          |\
  30.                                        |          | \
  31.                                        |     #    | B>----- eo
  32.                                        |          | /
  33.                               e2  -----|__________|/
  34.  
  35.  
  36. -------------------------------------------------------------------------
  37.  
  38.  
  39. Cosine            C          The output, eo, is the cosine of e1 
  40.                              (e1 is in radians.)
  41.                                         __________
  42.                                        |          |\
  43.                                        |          | \
  44.                                e1 -----|     #    | C>----- eo
  45.                                        |          | /
  46.                                        |__________|/
  47.  
  48.  
  49. -------------------------------------------------------------------------
  50.  
  51. Dead Space        D          The output, eo, contains a "dead-zone",
  52.                              positioned about 0.0, equal to value of 
  53.                              P1 - P2 .
  54.  
  55.                /
  56.           P1  /    ^                    __________
  57.           |__/     |                   |          |\
  58.          / | |    eo                   |          | \
  59.         /   P2                 e1 -----|     #    | D>----- eo
  60.        /                               |          | /
  61.                                        |__________|/
  62.         --> e1                           O      O
  63.       (Slope eo/e1 = 1.0)               P1      P2      
  64.  
  65. -------------------------------------------------------------------------
  66.  
  67. Log function      E          The output, eo, is the natural logarithm
  68. (Base e )                    of input e1 + P1.
  69.  
  70.  
  71.                                         __________
  72.                                        |          |\
  73.                                        |          | \
  74.                                e1 -----|     #    | E>----- eo
  75.                                        |          | /
  76.                                        |__________|/
  77.                                          O
  78.                                         P1
  79. -------------------------------------------------------------------------
  80.  
  81. Flag              F          The output, eo, is normally FALSE (-1) as 
  82. (latch)                      long as e1 <= P1. Once e1 > P1, eo becomes
  83.                              TRUE (+1). (Can not be reset during run.) 
  84.                              There is an indicator on the Control 
  85.                              Panel which lights if any flag is set.
  86.  
  87.                                         __________
  88.                                        |          |\
  89.                                        |          | \
  90.                                e1 -----|     #    | F>----- eo
  91.                                        |          | /
  92.                                        |__________|/
  93.                                          O
  94.                                         P1
  95. -------------------------------------------------------------------------
  96.  
  97. Gain              G          The output, eo, is computed by multiplying
  98. (Potentiometer)              e1 by P1.
  99.  
  100.                                         ________
  101.                                        /        \
  102.                                       /          \
  103.                              e1 -----|     #    G |----- eo
  104.                                       \          /
  105.                                        \ _______/
  106.  
  107.                                                     (a circle really)
  108. ------------------------------------------------------------------------ 
  109.  
  110.      
  111. Half Power        H          The output, eo, is calculated as the 
  112.  (Square Root)               square root of the ABSOLUTE value of e1. 
  113.  
  114.                              The square  root of 0.0 gives an output 
  115.                              of 0.0 (Special case).
  116.  
  117.                                         __________
  118.                                        |          |\
  119.                                        |          | \
  120.                                e1 -----|     #    | H>----- eo
  121.                                        |          | /
  122.                                        |__________|/
  123.                                       
  124.                                    
  125. -------------------------------------------------------------------------
  126.  
  127.  
  128. Integrator        I           The output, eo, is equal to P1/IC (t=0) 
  129.                               plus the integral of the sum of e1 plus 
  130.                               (P2 * e2) plus (P3 * e3). 
  131.  
  132.                               A maximum of 25 modules can be used.
  133.  
  134.                                             P1/IC
  135.                                         __O________
  136.                                e1 -----|          |\
  137.                                        |          | \
  138.                                e2 ----O|     #    | I>----- eo
  139.                                     P2 |          | /
  140.                                e3 ----O|__________|/
  141.                                     P3
  142.  
  143. -------------------------------------------------------------------------
  144.  
  145. Jitter            J           The output, eo, is a random number between
  146.                               -1.0 and +1.0 . The seed can be controlled
  147.                               by setting P1. If P1 = 0.0 the same seed 
  148.                               is used for each run. P1 set > 0.0 results
  149.                               in a new seed for each run.
  150.  
  151.                                         __________
  152.                                        |          |\
  153.                                        |          | \
  154.                                        |     #    | J>----- eo
  155.                                        |          | /
  156.                                        |__________|/
  157.                                          O
  158.                                         P1
  159. -------------------------------------------------------------------------
  160.  
  161. Konstant          K           The output, eo, is a constant value
  162. (Reference                    numerically equal to P1.
  163.  Source)
  164.                                         ________
  165.                                        /        \
  166.                                       /          \
  167.                                      |     #    K |----- eo
  168.                                       \          /
  169.                                        \ _______/
  170.  
  171.                                                     (a circle really)
  172.  
  173. ------------------------------------------------------------------------   
  174.  
  175. Limiter           L           The output, eo, is limited on the high
  176.                               end to the value of P1 and on the low end
  177.                               to the value of p2.
  178.                                                                                                                  __________
  179.                                        |          |\
  180.                                        |          | \
  181.                                e1 -----|     #    | L>----- eo
  182.                                        |          | /
  183.                                        |__________|/
  184.                                          O      O
  185.                                         P1      P2
  186.                                    
  187. -------------------------------------------------------------------------
  188.  
  189. Magnitude         M           The output, eo, is simply the absolute
  190.                               value of input e1.
  191.  
  192.                                         __________
  193.                                        |          |\
  194.                                        |          | \
  195.                                e1 -----|    #     | M>----- eo
  196.                                        |          | /
  197.                                        |__________|/
  198.  
  199.  
  200. -------------------------------------------------------------------------
  201.  
  202. Negative clipper   N          The output, eo, is limited to positive
  203.                               values.
  204.                                         __________
  205.                                        |          |\
  206.                                        |          | \
  207.                                e1 -----|    #     | N>----- eo
  208.                                        |          | /
  209.                                        |__________|/
  210.  
  211.  
  212. -------------------------------------------------------------------------
  213.  
  214. Offset             O          The output, eo, is the sum of e1 and P1.
  215.  
  216.                                   
  217.                                               |\
  218.                                       e1 -----|#\
  219.                                               | O>----- eo
  220.                                              O| /
  221.                                            P1 |/
  222.  
  223.  
  224. -------------------------------------------------------------------------
  225.  
  226. Positive Clipper    P         The output, eo, is limited to negative 
  227.                               values.
  228.  
  229.                                         __________
  230.                                        |          |\
  231.                                        |          | \
  232.                                e1 -----|    #     | P>----- eo
  233.                                        |          | /
  234.                                        |__________|/
  235.  
  236. -------------------------------------------------------------------------
  237.  
  238. Quit Element         Q        The output, eo, is unused. The occurrence
  239.                               of e1 > e2 causes the operate period to be
  240.                               interrupted and the run terminated.
  241.  
  242.                                         __________
  243.                               e1  -----|          |\
  244.                                        |          | \
  245.                                        |     #    | Q>
  246.                                        |          | /
  247.                               e2  -----|__________|/
  248.  
  249. -------------------------------------------------------------------------
  250.  
  251. Relay                R        The output, eo, is equal to e1 if e3
  252.                               is TRUE (Greater than 0.0) and equal to e2
  253.                               if e3 is FALSE ( Less than 0.0).
  254.  
  255.  
  256.                                         __________
  257.                               e1  -----|          |\
  258.                                        |          | \
  259.                                        |     #    | R>----- eo
  260.                                        |          | /
  261.                               e2  -----|__________|/
  262.                                              |
  263.                                          e3--|
  264.  
  265. -------------------------------------------------------------------------
  266.  
  267. Sine Function        S        The output, eo, is the sine of angle e1.
  268.                               (e1 is in radians).
  269.  
  270.                                         __________
  271.                                        |          |\
  272.                                        |          | \
  273.                                e1 -----|    #     | S>----- eo
  274.                                        |          | /
  275.                                        |__________|/
  276.  
  277.  
  278. -------------------------------------------------------------------------
  279.  
  280. Time Pulse           T       The output, eo, is a pulsed logic signal.
  281. Generator                    The pulse width is a single time step. The
  282.                              repetition rate is set by P1. The
  283.                              starting state is set by e1 as follows:
  284.       
  285.                              If e1 initially minus, eo starts FALSE
  286.                              and starts pulsing when e1 becomes TRUE.
  287.  
  288.                              If e1 initially zero, eo starts FALSE 
  289.                              and a pulse ends each period.
  290.  
  291.                              If e1 initially plus, eo starts with a
  292.                              pulse and a pulse starts each period.
  293.  
  294.                                                        
  295.                                         __________      _
  296.                                        |          |\  _| |_
  297.                                        |          | \
  298.                                e1 -----|     #    | T>----- eo
  299.                                        |          | /
  300.                                        |__________|/
  301.                                          O
  302.                                         P1
  303. -------------------------------------------------------------------------
  304.  
  305.  
  306.  
  307. Unit Delay           U       The unit delay module delays the input
  308. (Transport                   e1 for a specific period determined by
  309.  Delay)                      the setting of P2. The initial output of
  310.                              eo being set by P1. The delay will be an 
  311.                              even multiple of time step (maximum 50). 
  312.                              A maximum of three modules can be used.
  313.  
  314.                                         __________
  315.                                        |          |\
  316.                                        |          | \
  317.                                e1 -----|     #    | U>----- eo
  318.                                        |          | /
  319.                                        |__________|/
  320.                                          O      O
  321.                                         P1      P2
  322.                                   
  323. -------------------------------------------------------------------------
  324.  
  325. Vacuous              V       An element used in conjunction with the
  326.                              wye (Y) element. eo is used to provide
  327.                              an input to modules directly in the
  328.                              implicit range of the wye element. The
  329.                              input of the V element is always con-
  330.                              nected to the corresponding output of the
  331.                              wye element.  (Use highest block numbers
  332.                              for vacuous modules.) 
  333.  
  334.  
  335.                                    |\
  336.                                    |#\
  337.                             e1 ----|-->---- e0
  338.                                    |V/
  339.                                    |/
  340.   
  341. -----------------------------------------------------------------------
  342.  
  343. Weighted Summer       W      The output, eo, is the sum of e1 * P1 plus
  344.                              e2 * P2 plus e3 * P3.
  345.  
  346.  
  347.                             e1 ----O|\
  348.                                  P1 |#\
  349.                             e2 ----O| W>---- e0
  350.                                  P2 | /
  351.                             e3 ----O|/
  352.                                 P3
  353.  
  354. -----------------------------------------------------------------------
  355.  
  356. Multiplier            X      The output, eo, is the product of e1 and e2.
  357.  
  358.                                         __________
  359.                               e1  -----|          |\
  360.                                        |          | \
  361.                                        |          | X>----- eo
  362.                                        |          | /
  363.                               e2  -----|__________|/
  364.  
  365.  
  366. -------------------------------------------------------------------------
  367.  
  368. Wye                  Y       This module is used in conjunction with
  369.                              the vacuous (V) module to solve for
  370.                              situations where a high-gain operational
  371.                              amplifier would be utilized. With this 
  372.                              module, inverses and algebraic loops can be 
  373.                              solved.
  374.  
  375.                              P1 sets max. allowable error and P2 sets the
  376.                              convergence rate (0.1 - 0.9).
  377.  
  378.                                         ___________
  379.                               e1  -----|          /\
  380.                                        |    #    /  \
  381.                                        |--------|   Y>----- eo
  382.                                        |         \  /
  383.                               e2  -----|__________\/
  384.                                           O     O
  385.                                           P1    P2
  386. -------------------------------------------------------------------------
  387.  
  388.  Zero-order-hold     Z       A hybrid device. The output, eo, tracks the
  389.  (Sample-hold)               input e1 as long as e2 is TRUE. when e2 
  390.                              becomes FALSE the output, eo, maintains the
  391.                              last value of e1. Initial output, eo, = p1.
  392.  
  393.                                         __________
  394.                                        |          |\
  395.                                        |          | \
  396.                                e1 -----|     #    | Z>----- eo
  397.                                        |          | /
  398.                                        |__________|/
  399.                                          |      O
  400.                                     e2 __|      P1
  401.                                    
  402. -------------------------------------------------------------------------
  403.   
  404. Plus Summer          +       The output, eo, is the sum of e1, e2, and 
  405.                              e3. (Less overhead the weighted summer).
  406.  
  407.                             e1 ----|\
  408.                                    |#\
  409.                             e2 ----| +>---- e0
  410.                                    | /
  411.                             e3 ----|/
  412.                                 
  413. -----------------------------------------------------------------------
  414.  
  415. Divider             /        The output, eo, is the result of division
  416.                              of e1 by e2. Division by zero results in an
  417.                              error terminating the run.
  418.  
  419.                                         __________
  420.                                        |          |\
  421.                                        |          | \
  422.                                e1 -----|     #    | />----- eo
  423.                                        |          | /
  424.                                        |__________|/
  425.                                          |      
  426.                                     e2 __|  
  427.                                    
  428. -------------------------------------------------------------------------
  429.  
  430. Arbitrary            1       The output, eo, is the function of e1 
  431. function type        2       between the limits of  P2 to P1. There
  432.                      3       are 20 equally-spaced segments utilizing
  433.                              continuous linear interpolation within each
  434.                              segment. P2 is the higher limit of X and 
  435.                              P1 the lower. The 21 points of the abscissa
  436.                              can be any reasonable value. There can be 3
  437.             .                function types and any number of each type.
  438.     .   .  /|\
  439.  _ /|\./|\/|||\    (Y)                  __________
  440.   |||||||||||||\_   ^                  |          |\
  441.   ||||||||||||||    |                  |          | \
  442.                                e1 -----|     #    | *>----- eo
  443.   P2 ..........P1                      |          | /
  444.                                        |__________|/
  445.         (X) ->                            O    O      * 1,2,or 3
  446.                                          P1    P2
  447.                                    
  448. -------------------------------------------------------------------------
  449.   
  450.                             
  451. Logical AND gate      &      The output, eo, is the logical AND of inputs
  452.                              e1, e2, and e3. That is: If e1, e2, and e3
  453.                              are TRUE eo will be TRUE.
  454.  
  455.       
  456.                                        _________
  457.                               e1 -----|         \
  458.                                       |          \
  459.                               e2 -----|    #    &|----- eo
  460.                                       |          /    __
  461.                               e3 -----|_________/\___ eo
  462.  
  463.  
  464. -------------------------------------------------------------------------
  465. Single Shot           ^      The output, eo, of this module is a logic
  466.                              signal. Normally the output is FALSE. When
  467.                              e1 becomes TRUE and e2 is enabled a TRUE
  468.                              pulse, equal in time to to the value of p1,
  469.                              is output. Pulse time is a multiple of time
  470.                              step. 
  471.                                         ___________
  472.                           (S) e1  -----|           |\   
  473.                                        |           | \         (Q)
  474.                                        |     #     | ^|---- eo  _
  475.                                        |           | / \___    (Q)
  476.                           (E) e2  -----|___________|/       -e0 
  477.                                           O   
  478.                                           P1 
  479. -------------------------------------------------------------------------
  480.  
  481.  
  482. Rectalinear to        >      The output, eo, is the resultant vector
  483. Polar conversion             quantity ( sqrt. ( X sqd. + Y sqd.)) and
  484.                              output -eo is the angle (in radians). The
  485.                              range of angle is from -Pi to +Pi radians.
  486.  
  487.  
  488.                                         __________
  489.                          (X)  e1  -----|          |\
  490.                                        |          | \
  491.                                        |     #    | >>----- eo (R)
  492.                                        |          | /
  493.                          (Y)  e2  -----|__________|/\___ -eo  (theta)
  494.  
  495.  
  496. -------------------------------------------------------------------------
  497.  
  498.  
  499. Polar to              <      The output, eo, is equal to the cosine
  500. Rectalinear                  of angle e2 times e1. The output -eo 
  501. conversion                   is equal to the sine of e2 times e1. 
  502.                              (angle e2 is in radians). If input e1 is
  503.                              equal to 1.0 then eo and -eo are the
  504.                              cosine and sine of angle e2.
  505.  
  506.  
  507.                                         __________
  508.                        (R)    e1  -----|          |\
  509.                                        |          | \
  510.                                        |     #    | <>----- eo  (X)
  511.                                        |          | /
  512.                      (theta)  e2  -----|__________|/\___ -eo  (Y)
  513.  
  514.  
  515. -------------------------------------------------------------------------
  516.  
  517.  
  518. Iteration             ?      The output, eo, is proportional to an
  519. control module               error term formed by the difference
  520.                              e1 - e2 . This module only works in
  521.                              conjunction with the REP-OP mode. The
  522.                              parameter usage varies with the mode of
  523.                              operation as follows.
  524.  
  525.                              P3 = 1: (increment/decrement mode).
  526.                                       eo = P1 (t=0) period 1.
  527.                                       eo = eo + P2 after each
  528.                                            operate period.
  529.  
  530.                              P3 = 2: (inc./dec. error mode).
  531.                                        eo = P1 (t=0) period 1.
  532.                                        eo = eo + sign(e1-e2) * abs(P2)
  533.                                             after each operate period.
  534.  
  535.                              P3 = 3 (inc./dec. prop. error mode).
  536.                                         eo = P1 (t=0) period 1.
  537.                                         eo = eo + ((e1 - e2) * p2).
  538.  
  539.                              P3 = 4.0 (inc./dec. prop. sqd. error mode).
  540.                                         eo = P1 (t=0) period 1.
  541.                                         eo = eo + (e1 - e2) ** 2 
  542.                                              * sign(e1-e2) * P2.
  543.                                               
  544.                                         __________
  545.                               e1  -----|          |\
  546.                                        |          | \
  547.                                        |     #    | ?>----- eo
  548.                                        |          | /
  549.                               e2  -----|__________|/
  550.                                          O   O   O
  551.                                          P1  P2  P3
  552. -------------------------------------------------------------------------
  553.  
  554. Analog PID           %      The output, eo, is used to control a sim-
  555. controller                  ulated process. e1 is the measured
  556.                             variable. e2 the setpoint, and e3 the
  557.                             the initial (manual) setting of the con-
  558.                             trolled output eo.
  559.                             P1 controls the proportional gain (+ =
  560.                             direct acting.) (- = inverse acting.) P2 is
  561.                             the integral (reset) gain and P3 is the
  562.                             derivative (rate) gain. Up to 3 modules
  563.                             can be used. The controllers can be used
  564.                             in "cascade" fashion.
  565.                            
  566.                                         __________
  567.                                e1 -----|          |\
  568.                                        |          | \
  569.   * Note Settings P2 &         e2 -----|     #    | %>----- eo
  570.     P3 are gains in respect            |          | /
  571.     to the proportional gain   e3 -----|__________|/
  572.     and the independent vari-            O   O   O
  573.     able per/sec.,per/min.               P1  P2  P3
  574.     or per/hour...
  575.  
  576. -------------------------------------------------------------------------
  577.                                  [end]
  578.  
  579.